package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.CallRelevance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-11-15
 */
@Repository
@DS(Const.PRIMARY_DS)
public interface CallRelevanceMapper extends BaseMapper<CallRelevance> {
    List<Long> getIdsByRideId(@Param("rideId") Long rideId);
}
